GET /api/learn/questions/:id/check_answer
Check question answer

Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Query params example

/api/learn/questions/4/check_answer?answer_ids[]=12&answer_ids[]=13

Success response body

{
  "answer_is_correct": false,
  "answer_explanation": "True: an important part of defining your goals for social media is indeed to determine who your audience is!"
}

Params

Param name Description
id
required

Validations:

  • Must be a Integer

answer_ids
required

Validations:

  • Must be an array of Integer